package com.angel.dto;

import com.angel.bean.Branches;
import com.angel.bean.Employee;

public class BranchesDto {
    //父店名称
    private String parentShop; //父店
    private Branches subShop; //分店
    private Employee employee; //員工

    public BranchesDto(String parentShop, Branches subShop) {
        this.parentShop = parentShop;
        this.subShop = subShop;
    }

    public BranchesDto(Branches subShop, Employee employee) {
        this.subShop = subShop;
        this.employee = employee;
    }
    public BranchesDto(String parentShop,Branches subShop, Employee employee) {
        this.parentShop = parentShop;
        this.subShop = subShop;
        this.employee = employee;
    }


    public String getParentShop() {
        return parentShop;
    }

    public void setParentShop(String parentShop) {
        this.parentShop = parentShop;
    }

    public Branches getSubShop() {
        return subShop;
    }

    public void setSubShop(Branches subShop) {
        this.subShop = subShop;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }


    @Override
    public String toString() {
        return "BranchesDto{" +
                "parentShop='" + parentShop + '\'' +
                ", subShop=" + subShop +
                ", employee=" + employee +
                '}';
    }
}
